<template>
	<div class="common-layout">
		<Header />
		<HeaderBtn v-if="homeShow"></HeaderBtn>
		<router-view />
	</div>
</template>

<script setup>
import Header from "../components/Header.vue";
import HeaderBtn from "../components/HeaderBtn.vue";
import { useRouter } from 'vue-router';
const router = useRouter()
import { reactive, ref } from "vue";
console.log('router', router.currentRoute.value.fullPath);
const routerPath = router.currentRoute.value.fullPath;
const homeShow = ref(false);
if (routerPath == '/home') {
	homeShow.value = true;
}
</script>

<style></style>